﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommonLib.Primitives;
using CommonLib.Geometry;
using Microsoft.DirectX;

namespace CommonLib
{
    public class HitInfo
    {
        public float HitTime { get; set; }
        public GeomObj HitObj { get; set; }
        public Point3D HitPoint { get; set; }
        public Vector3 HitNormal { get; set; }
        public HitInfo(GeomObj hitObj, float hitTime, Point3D hitPoint, Vector3 hitNormal)
        {
            HitObj = hitObj;
            HitTime = hitTime;
            HitPoint = hitPoint;
            HitNormal = hitNormal;
        }
    }
}
